package com.hyt.it.ogt.ks.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.hyt.it.ogt.ks.feign.hystrix.LoginClientHystrix;

/**
 * 接口
 * @author 洪滨滨
 * @since 2022/5/20
 */
@FeignClient(name="it-ogt-ks-login${login.tag:}", fallback = LoginClientHystrix.class)
public interface LoginClient {

    @DeleteMapping("/oauth/token")
    Boolean revokeToken(@RequestParam(value = "access_token") String access_token, @RequestParam(value = "client_id") String client_id, @RequestParam(value = "client_secret") String client_secret);
}
